import service from ".";
const LoginApi={
    //登录
    login(username,password){
        return service.post("/api/login",username,password)
    },
    //退出登录
    logout(token){
        return service.post("/api/logout",token)
    }
}
export default LoginApi;